package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.StrategyComment;
import cn.wolfcode.luowowo.comment.query.StrategyCommentQuery;
import cn.wolfcode.luowowo.member.domain.UserInfo;
import org.springframework.data.domain.Page;

/**
 * 攻略评论服务接口
 */
public interface IStrategyCommentService {
    /**
     * 保存评论
     * @param strategyComment
     */
    void save(StrategyComment strategyComment);

    /**
     * 分页
     * @param
     * @return
     */
    Page<StrategyComment> query(StrategyCommentQuery qo);

    /**
     * 点赞
     * @param toid
     * @param fromid
     */
    void commentThumbUp(String toid, Long fromid);


}
